package net.maku.events.convert;

import net.maku.events.entity.ActivityQuestionBankEntity;
import net.maku.events.vo.ActivityQuestionBankVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 题库题目
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivityQuestionBankConvert {
    ActivityQuestionBankConvert INSTANCE = Mappers.getMapper(ActivityQuestionBankConvert.class);

    ActivityQuestionBankEntity convert(ActivityQuestionBankVO vo);

    ActivityQuestionBankVO convert(ActivityQuestionBankEntity entity);

    List<ActivityQuestionBankVO> convertList(List<ActivityQuestionBankEntity> list);

}